package com.ktg.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ktg.ktgcommon.domain.mainData.MdUnitMeasure;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UnitMeasureMapper {
    Page<MdUnitMeasure> checkListUnitPage(Page<MdUnitMeasure> page, @Param("measureCode") String measureCode, @Param("measureName") String measureName);

    MdUnitMeasure CheckUnitById(Integer measureId);

    Integer delUnit(Integer measureId);

    Integer changeUnit(@Param("mdUnitMeasure") MdUnitMeasure mdUnitMeasure);

    Integer addUnit(@Param("mdUnitMeasure") MdUnitMeasure mdUnitMeasure);

    Integer delUnitArray(@Param("arrayMeasureId") List<Integer> arrayMeasureId);
}

